<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>dil.ast.DefaultVisitor</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "dil.ast.DefaultVisitor";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/dil.ast.DefaultVisitor.html" class="symbol">dil.ast.DefaultVisitor</a></h1>
  
<p class="sec_header">Author:</p>Aziz Köksal
<p class="sec_header">License:</p>GPL3
 <p><b>Maturity:</b> very high.</p>
<dl>
<dt class="decl">string <a class="symbol _function" name="createCode" href="./htmlsrc/dil.ast.DefaultVisitor.html#L17" kind="function" beg="17" end="57">createCode</a><span class="params">(NodeKind <em>nodeKind</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#createCode" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.ast.DefaultVisitor.html#L17">#</a></dt>
<dd class="ddef">
<div class="summary">Generates the actual code for visiting the provided members.</div></dd>
<dt class="decl">string <a class="symbol _function" name="generateDefaultVisitMethods" href="./htmlsrc/dil.ast.DefaultVisitor.html#L66" kind="function" beg="66" end="76">generateDefaultVisitMethods</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#generateDefaultVisitMethods" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.ast.DefaultVisitor.html#L66">#</a></dt>
<dd class="ddef">
<div class="summary">Generates the default visit methods.</div>
E.g.:
 <pre class="d_code">
<span class="k">override</span> <span class="i">returnType</span>!(<span class="sl">"ClassDeclaration"</span>) <span class="i">visit</span>(<span class="i">ClassDeclaration</span> <span class="i">n</span>)
{ <span class="bc">/* Code that visits the subnodes... */</span> <span class="k">return</span> <span class="i">n</span>; }
</pre></dd>
<dt class="decl">class <a class="symbol _class" name="DefaultVisitor" href="./htmlsrc/dil.ast.DefaultVisitor.html#L81" kind="class" beg="81" end="85">DefaultVisitor</a> : Visitor; <a title="Permalink to this symbol" href="#DefaultVisitor" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.ast.DefaultVisitor.html#L81">#</a></dt>
<dd class="ddef">
<div class="summary">This class provides default methods for
 traversing nodes and their subnodes.</div>
</dd></dl>
</div>
<div id="footer">
  <p>Copyright © 2007-2008, Aziz Köksal. All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:12:55 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>